<template>
  <div>
    <!-- 路由入口 -->
    <keep-alive>
<!-- 将home文件夹缓存起来 -->
      <router-view v-if="$route.meta.needKeep"></router-view>
    </keep-alive>
    <!--没有被缓存起来的路由入口 -->
      <router-view v-if="!$route.meta.needKeep "></router-view>
  </div>
</template>

<script>
export default {
  

}
</script>

<style>

</style>